package cn.edu.scau.se33.service;

import java.util.List;

import cn.edu.scau.se33.domain.BookInfo;

public interface BookService {
     public List<BookInfo> findbook();
     public BookInfo findByAuthor(String author);
     public BookInfo findByLanguage(String language);
     public BookInfo findByPublisher(String publisher);
     public BookInfo findByBookTypename(String typename);
     public BookInfo findByBookTitle(String title);
     public BookInfo findByBookIsbn(int isbn);
     public boolean addbook(BookInfo b);
     public boolean deletebook(int isbn);
     public boolean updatebook(BookInfo b);
     public boolean updatebooknumber(BookInfo b);
    /* public boolean updatebooktypeid(BookInfo b);
     public boolean updatebooktitle(BookInfo b);
     public boolean updatebooklanguage(BookInfo b);
     public boolean updatebookpublisher(BookInfo b);
     public boolean updatebookpublish_year(BookInfo b);
     public boolean updatebookauthor(BookInfo b);
     public boolean updatebookprice(BookInfo b);
     
     public boolean updatebookstock(BookInfo b);
     public boolean updatebookdigest(BookInfo b);
     public boolean updatebooklocation(BookInfo b);
   */
     
}
